package com.xjoyt.pay.master.repository;

import com.xjoyt.pay.master.po.PayChannel;
import com.xjoyt.pay.repository.Repository;

public interface PayChannelRepository extends Repository<PayChannel> {

	// @Query(" SELECT a from PayChannel a join a.channel c join c.parts p WHERE
	// p.id = ?1 and a.type = ?2 and a.request is not null ORDER BY a.weight
	// DESC ")
	// List<PayChannel> findAllByPay(String partId, PayType type);

	// @Query(" select a from PayChannel a where a.channel.id in ?1 ")
	// List<PayChannel> findAllByChannelIdIn(List<String> channelIds);
}
